#support-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    pointer-events: all;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

#support-modal::-webkit-scrollbar {
    display: none;
}

#support-modal:empty {
    pointer-events: none;
}

#support-modal .invalidator:not(.invalid) .form-control,
#support-modal .invalidator:not(.invalid) .select2-selection {
    background-color: #fff !important;
}

#support-modal .background {
    display: table;
    position: relative;
    vertical-align: middle;
    width: 100%;
    height: 100vh;
    padding: 20px;
    pointer-events: none;
    background-color: #1c2752e6;
    animation-name: background-transition-open;
    animation-fill-mode: forwards;
    animation-duration: .4s;
}

#support-modal .background.closed {
    animation-name: background-transition-close;
    animation-fill-mode: forwards;
    animation-duration: .4s;
}

@keyframes background-transition-open {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes background-transition-close {
    from { opacity: 1; }
    to { opacity: 0; }
}

#support-modal .modal {
    position: relative;
    max-width: 560px;
    min-height: auto;
    margin: auto;
    border-radius: 4px;
    pointer-events: auto !important;
    background-color: #fff;
    animation-name: modal-transition-open;
    animation-fill-mode: forwards;
    animation-duration: .6s;
}

#support-modal .modal.closed {
    animation-name: modal-transition-close;
    animation-fill-mode: forwards;
    animation-duration: .6s;
}

@keyframes modal-transition-open {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes modal-transition-close {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(-50px);
    }
}

#support-modal .content {
    padding: 30px 45px;
}

#support-modal .title-section {
    margin: 0;
}

#support-modal .title {
    font-size: 2rem;
    font-weight: 400;
    line-height: 1.12;
    margin: 0 0 15px -2px;
}

#support-modal .subtitle {
    margin-top: -10px;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #2a3e52cc;
}

#support-modal .close-btn {
    position: absolute;
    margin: 0;
    top: 20px;
    right: 20px;
    width: 18px;
    height: auto;
}

#support-modal .close-btn img {
    transition: transform .3s;
}

#support-modal .close-btn img:active {
    transform: scale(.8);
}

#support-modal .error-div {
    height: 35px;
    background-color: #d94a4a1a;
}

#support-modal .error-div p {
    text-align: center;
    font-size: .875rem;
    font-weight: 400;
    line-height: 2.5;
    color: #d94a4a;
}

#support-modal .form-instruction {
    font-size: .875rem;
    font-weight: 400;
    margin: 30px auto 0 auto;
    color: #848aa2;
}

#support-modal .main-section {
    display: flex;
    flex-direction: column;
    margin-top: 20px;
    max-width: initial;
}

#support-modal .main-section .hor-layout-fields {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    margin: 5px 0;
}

#support-modal .form-group {
    margin: 0 10px;
    width: 100%;
}

#support-modal .form-group.text-area .form-control {
    height: 135px;
}

#support-modal .phone-fields .form-group.dropdown {
    width: 50%;
}

#support-modal .legal-section {
    display: inline-block;
    width: 100%;
    margin-left: 10px;
}

#support-modal .legal-section p {
    text-align: left;
    max-width: 50%;
    font-size: .75rem;
    line-height: 1.5;
    color: #2a3e5266;
}

#support-modal .legal-section p a {
    text-decoration: underline;
}

#support-modal .send-section {
    position: absolute;
    display: inline-block;
    width: 35%;
    bottom: 30px;
    right: 10%;
}

#support-modal .submit-btn {
    width: 210px;
    background-color: #f4732a;
}

#support-modal .submit-btn:hover,
#support-modal .submit-btn:focus {
    background-color: #e64506;
}

#support-modal .submit-btn:active {
    background-color: #f4732a;
}

#support-modal .support-success {
    display: grid;
}

#support-modal .support-success img {
    margin: auto;
}

#support-modal .support-success .title-div {
    margin-top: 30px;
}

@media screen and (max-width: 1000px) {
    #support-modal .background {
        position: initial;
    }

    #support-modal .modal {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        max-width: none;
    }

    #support-modal .content {
        padding-bottom: 0;
    }
    
    #support-modal .send-section {
        position: relative;
        display: block;
        width: 100%;
        right: 0;
    }
}